package com.lagou.goods.service;

import com.lagou.common.pojo.Goods;
import com.lagou.common.pojo.GoodsVo;

import javax.management.relation.Relation;
import java.util.List;

public interface GoodsService {
    /*
     * 通过商品ID查询商品信息
     * */
    public Goods queryById(Integer id);

    public int deleteById(Integer id);

    public int updateById(Goods goods);

    public GoodsVo queryList(Integer current,Integer size);


}
